<template>
  <page-loading :show="pageLoading">
    <!-- 消息——业务通知 -->
    <view class="contert">
      <view
        class="bussbox"
        v-for="(item, index) in bussinesslist"
        :key="index"
        @click="bussclick(item.type, item.business_id)"
      >
        <view class="bussimg">
          <view class="text-wrapper" v-if="typeList[item.type]">
            <view>{{ typeList[item.type].title }}</view>
            <view>{{ typeList[item.type].title1 }}</view>
          </view>
          <view class="text-wrapper" v-else>
            <view>通知</view>
            <view></view>
          </view>
        </view>
        <view class="buss-text">
          <view class="busstitle">
            <view class="busssname">
              {{ item.title }}
            </view>
            <view class="butimes">
              {{ item.time }}
            </view>
          </view>
          <view class="busstitle">
            <view class="bussxiangq">
              {{ item.body }}
            </view>
            <view class="bussimgxiaye">
              <u-icon name="arrow-right" color="#9A9A9A" size="20"></u-icon>
            </view>
          </view>
        </view>
      </view>
      <view v-show="showEmpty" class="empty"> 暂无通知 </view>
    </view></page-loading
  >
</template>
<script src="./businessNotice.js"></script>
<style src="./businessNotice.scss" lang="scss"></style>
